// 配置所有角色权限，包括页面权限和页面内按钮操作权限
export const authInfo = {
    普通用户: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',

        'taskRequire',
        'taskRequire.myRequire'
    ],
    需求管理员: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',
        'sendRequire.createProductRequire',
        'sendRequire.createMultiProRequire',

        'taskRequire',
        'taskRequire.taskRequirements',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',
        'productRequire.myRequire',

        'version',
        'version.versionList',

        'energyManage',
        'energyManage.analysisReport',
        'energyManage.analysisReport.list',
        'energyManage.analysisReport.preview',
        'energyManage.analysisReport.beijixingBoard',
        'energyManage.analysisReport.detail',
        'energyManage.analysisReport.proList',
        'energyManage.analysisReport.proDetailList',
        'energyManage.analysisReport.taskDetailList',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail',

        'replenishRecord',
        'replenishRecord.list',

        'setting',
        'setting.templateList',
        'setting.system.systemList',
        'setting.system.systemDetail'
    ],
    产品经理: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',
        'sendRequire.createProductRequire',
        'sendRequire.createMultiProRequire',

        'taskRequire',
        'taskRequire.taskRequirements',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',
        'productRequire.myRequire',

        'version',
        'version.versionList',
        'version.createVersion', // 创建版本
        'version.delete', // 删除版本管理

        'energyManage',
        'energyManage.analysisReport',
        'energyManage.analysisReport.list',
        'energyManage.analysisReport.preview',
        'energyManage.analysisReport.beijixingBoard',
        'energyManage.analysisReport.detail',
        'energyManage.analysisReport.proList',
        'energyManage.analysisReport.proDetailList',
        'energyManage.analysisReport.taskDetailList',

        'energyManage.beijixing',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail',

        'replenishRecord',
        'replenishRecord.list',

        'setting',
        'setting.templateList',
        'setting.analysisReport',

        'tool',
        'tool.feishu'


    ],
    研发经理: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',

        'taskRequire',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',

        'version',
        'version.versionList',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail'
    ],
    测试经理: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',

        'taskRequire',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',

        'version',
        'version.versionList',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail'
    ],
    观察者: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',

        'taskRequire',
        'taskRequire.myRequire',
        'taskRequire.taskRequirements',

        'productRequire',
        'productRequire.productRequirements',

        'version',
        'version.versionList',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail'
    ],
    项目成员: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',

        'taskRequire',
        'taskRequire.myRequire',
        'taskRequire.taskRequirements',

        'productRequire',
        'productRequire.productRequirements',

        'version',
        'version.versionList',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail'
    ],
    admin: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',
        'sendRequire.createProductRequire',
        'sendRequire.createMultiProRequire',

        'taskRequire',
        'taskRequire.taskRequirements',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',
        'productRequire.myRequire',

        'version',
        'version.versionList',

        'energyManage',
        'energyManage.analysisReport',
        'energyManage.analysisReport.list',
        'energyManage.analysisReport.list.stopFlow', // 中止流程
        'energyManage.analysisReport.preview',
        'energyManage.analysisReport.beijixingBoard',
        'energyManage.analysisReport.detail',
        'energyManage.analysisReport.proList',
        'energyManage.analysisReport.proDetailList',
        'energyManage.analysisReport.taskDetailList',

        'energyManage.beijixing',

        'tool',
        'tool.feishu',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail',


        'setting',
        'setting.templateList',
        'setting.dicTree',
        'setting.system.createSystem',
        'setting.system.systemList',
        'setting.system.systemDetail',
        'setting.analysisReport'
    ],
    产品管理委员会: [
        'energyManage',
        'energyManage.analysisReport',
        'energyManage.analysisReport.list',
        'energyManage.analysisReport.list.stopFlow', // 中止流程
        'energyManage.analysisReport.list.pushLead', // 推送领导
        'energyManage.analysisReport.preview',
        'energyManage.analysisReport.beijixingBoard',
        'energyManage.analysisReport.detail',
        'energyManage.analysisReport.proList',
        'energyManage.analysisReport.proDetailList',
        'energyManage.analysisReport.taskDetailList',

        'setting.analysisReport'
    ],
    领导: [
        'sendRequire',
        'sendRequire.createTaskRequire',
        'sendRequire.createMultiTaskRequire',
        'sendRequire.createProductRequire',
        'sendRequire.createMultiProRequire',

        'taskRequire',
        'taskRequire.taskRequirements',
        'taskRequire.myRequire',

        'productRequire',
        'productRequire.productRequirements',
        'productRequire.myRequire',

        'version',
        'version.versionList',

        'energyManage',
        'energyManage.analysisReport',
        'energyManage.analysisReport.list',
        'energyManage.analysisReport.list.stopFlow', // 中止流程
        'energyManage.analysisReport.preview',
        'energyManage.analysisReport.beijixingBoard',
        'energyManage.analysisReport.detail',
        'energyManage.analysisReport.proList',
        'energyManage.analysisReport.proDetailList',
        'energyManage.analysisReport.taskDetailList',

        'energyManage.beijixing',

        'tool',
        'tool.feishu',

        'productAnalysis',
        'productAnalysis.productList',
        'productAnalysis.texingTree',
        'productAnalysis.texingTree.Detail'
    ]
};